export const rules = {
    title: [
        { required: true, message: '请输入问题标题', trigger: 'blur' },
        { min: 2, max: 20, message: '问题标题长度2-20位', trigger: 'blur' },
    ],
    type: [
        { required: true, message: '请选择问题类型', trigger: 'change' }
    ],
    content: [
        { required: true, message: '请输入问题描述', trigger: 'blur' },
        { min: 4, max: 200, message: '问题描述长度4-200位', trigger: 'blur' },
    ],
}